package cn.walls1717.wallsmall.common.constant.product;

import lombok.Getter;

/**
 * 商品状态枚举
 *
 * @author walls1717
 * @since 2022/11/02 15:15
 **/
@Getter
public enum ProductStatusEnum {

    /** 新建 */
    NEW_SPU(0, "新建"),
    /** 商品上架 */
    SPU_UP(1, "商品上架"),
    /** 商品下架 */
    SPU_DOWN(2, "商品下架");

    private final Integer code;
    private final String msg;

    ProductStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
